package com.hurl.library.spider;

import com.hurl.library.http.HttpException;

public interface SpiderListener {
	public void startup()throws SpiderException;
	public void beforeDownload(String url)throws SpiderException;
	public void downloadSuccess(String url, String html)throws SpiderException;
	public void downloadFailure(String url, HttpException e)throws SpiderException;
	public void teardown(boolean success,Throwable t)throws SpiderException;
}
